<html>
<head><meta charset="utf-8"><title>Exporting all Types · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Exporting.20all.20Types.html">Exporting all Types</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="161012970"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Exporting%20all%20Types/near/161012970" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Armin Ronacher <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Exporting.20all.20Types.html#161012970">(Mar 17 2019 at 20:12)</a>:</h4>
<p>Could rust-analyzer be used at the moment to dump out all types and functions with doc information to JSON somehow to feed into a documentation builder?</p>



<a name="161013369"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Exporting%20all%20Types/near/161013369" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Exporting.20all.20Types.html#161013369">(Mar 17 2019 at 20:25)</a>:</h4>
<p>"It depends": there are two main limitations:</p>
<ul>
<li>we don't expand macros reliably yet, so anything generated by a macro (including derives) will be missing</li>
<li>we don't have any API stability guarantees,</li>
</ul>



<a name="161017768"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Exporting%20all%20Types/near/161017768" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Armin Ronacher <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Exporting.20all.20Types.html#161017768">(Mar 17 2019 at 22:22)</a>:</h4>
<p>Thanks. I take that as a "better not" for now :)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>